package com.motorola.dp.jenkinsmonitor.service.util.http;

import java.io.IOException;

import com.motorola.dp.jenkinsmonitor.model.util.HttpRequestParameters;
import com.motorola.dp.jenkinsmonitor.model.util.ResponseInputStream;

public interface HttpService {

    /**
     *
     * Gets a stream using given URL
     *
     * @param url
     * @return
     * @throws IOException
     */
    ResponseInputStream fetchStream(HttpRequestParameters params) throws IOException;

}
